home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1992 June: ROMin Holiday / ADC Developer CD (1992-06) (''ROMin Holiday'')_iso / Developer Connection - 06-1992.iso / Development Platforms / Apple II / Essentials / Technical.Notes / MemX / TN.MEMX.001
Encoding:
Text File  |  1988-12-15  |  4.2 KB  |  85 lines  |  [TEXT/pdos]

  1. Apple II
  2. Technical Notes
  3. _____________________________________________________________________________
  4.                                                   Developer Technical Support
  5.  
  6.  
  7. Memory Expansion Card
  8. #1:    Questions and Answers
  9.  
  10. Revised by:    Mike Askins & Matt Deatherage                     November 1988
  11. Written by:    Cameron Birse                                        April 1986
  12.  
  13. This Technical Note documents many of the questions and answers concerning the 
  14. Memory Expansion Card which are not covered in its manual.
  15. _____________________________________________________________________________
  16.  
  17.  
  18. Question:    What screen holes does the Memory Expansion Card firmware use?
  19. Answer:      The Memory Expansion Card uses the following screen holes:
  20.  
  21.              $478 + slot  numbanks number of 64K banks (256K = $04, 512 = $08)
  22.              $4F8 + slot  powerup  powerup byte ($A5)
  23.              $578 + slot  power2
  24.  
  25.              These screen holes are not cast in concrete and may change with a 
  26.              new revision of the firmware.
  27.  
  28. Question:    Why does RESET turn off the Memory Expansion Card registers until 
  29.              an access to the $Cn00 space?
  30. Answer:      The reason $Cn00 enables the registers was to optimize speed and 
  31.              the number of pins and logic on the custom gate array.  The boot 
  32.              scan hits $Cn00 anyway and enables the registers.
  33.  
  34. Question:    Will any access (read, write, or status) to the firmware cause the 
  35.              Memory Expansion Card to format itself?
  36. Answer:      Yes, any access to the firmware will cause it to format itself to 
  37.              the current operating system (DOS 3.3, Pascal, or ProDOS), 
  38.              assuming it is not already formatted.
  39.  
  40. Question:    Why isn't the Memory Expansion Card marked as a non-interruptible 
  41.              device?  What if an interrupt occurred during access to the card 
  42.              and the interrupt handler also accessed the card?
  43. Answer:      The Memory Expansion Card is not marked as a non-interruptible 
  44.              device because it would not be fatal to have an interrupt occur 
  45.              during an access to the device.  Obviously, the interrupt handler 
  46.              would have to save and restore the registers as well as update the 
  47.              "free block" bitmap, so when the handler returns control the 
  48.              program does not overwrite the new data.  The reason other devices 
  49.              are marked as non-interruptible is due to timing dependent read 
  50.              and write requirements.
  51.  
  52. Question:    Why does the Memory Expansion Card fail to format if the powerup 
  53.              screen hole contains the value $A0?
  54. Answer:      The firmware checks the screen holes for $A0 values, and if they 
  55.              are all $A0, it assumes that someone made a mistake and cleared 
  56.              the screen improperly, filling the screen holes with spaces.  In 
  57.              this case, the firmware does not want to reformat and lose all the 
  58.              files on the RAM disk.
  59.  
  60. Question:    The code at $Cn5A has the following sequence, and does not seem to 
  61.              make sense:
  62.  
  63.                  LDA #$1
  64.                  LDY $42
  65.                  CMP #4
  66.                  BCS Cn8E
  67.  
  68.              Shouldn't the CMP #4 be a CPY #4?
  69. Answer:      Yes, this is a known bug that will be fixed if the ROMs are ever 
  70.              revised.  The bug by itself was not considered significant enough 
  71.              to justify a revision.  Note that this is corrected in the Memory 
  72.              Expandable Apple IIc.
  73.  
  74. Question:    If DOS formats the Memory Expansion Card, ProDOS cannot reformat 
  75.              it without a power down or using a ProDOS application which 
  76.              formats disks.  In other words, it does not reformat itself when I 
  77.              boot into a new operating system.  Isn't that a bit severe?
  78. Answer:      This is no different than any other disk device.  ProDOS does not 
  79.              have a format command, so you cannot just format from ProDOS 
  80.              without having the formatter installed and some means for calling 
  81.              it.  Additionally this was done intentionally so that you could 
  82.              load DOS files into the RAM card and be able to boot ProDOS and 
  83.              use the CONVERT program to convert the DOS files to ProDOS.
  84.  
  85.